package shun.demo.gson.model;

import com.google.gson.annotations.SerializedName;

/**
 * Created by chen on 1/18/14.
 */
public class Banner {

    @SerializedName("pic_url")
    private String mImageUrl;

    @SerializedName("type")
    private int mType;

    @SerializedName("object")
    private BannerDetail mBannerDetail;

    public String getImageUrl() {
        return mImageUrl;
    }

    public void setImageUrl(String imageUrl) {
        mImageUrl = imageUrl;
    }

    public int getType() {
        return mType;
    }

    public void setType(int type) {
        mType = type;
    }

    public BannerDetail getBannerDetail() {
        return mBannerDetail;
    }

    public void setBannerDetail(BannerDetail bannerDetail) {
        mBannerDetail = bannerDetail;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("\nimage_url=");
        sb.append(mImageUrl);
        sb.append("\ntype=");
        sb.append(mType);
        sb.append("\nobject=");
        sb.append(mBannerDetail);
        return sb.toString();
    }
}
